'''
Created on Feb 25, 2011

@author: Chris
'''

class FileHandler(object):
    '''
    This class directly accesses the file system and keeps track of every external file that is used in the application
    '''


    def __init__(self):
        '''
        Constructor
        '''
        self.pathNameProject = NotImplemented  # the file path for the project file to be saved or loaded
        self.pathNameCorpus = NotImplemented  # the filepath for the corpus folder to be saved or loaded
        self.corpus = NotImplemented  # a list of the various documents that will be submitted for the sample to be analyzed against
        
    def loadCorpus(self):
        """ 
        This method returns a corpus based on the pathnames provided by the user 
        """
        pass
    
    def saveCorpus(self):
        """ 
        This method attempts to save the corpus for later use or retrieval 
        """
        pass
        
    def SaveProject(self):
        """ 
        This method attempts to save the user project for later use or retrieval 
        """
        pass
    
    def submit(self):
        """ 
        This method submits the document and the corpus to StyloInterface and assigns the data accordingly 
        """
        pass
    
    def loadProject(self):
        """ 
        This method loads a project file and parses it and restores an old project state for the user 
        """
        pass
        